//TOWN SCRIPT TEMPLATE

begintownscript;

variables;

body;

beginstate INIT_STATE;
	if(get_flag(2,2)==0){
	message_dialog("You descend the stairs into the tunnel the King told you about. You recognize a large statue as the peace offering.","(Walk into the statue to push it.)");
	set_flag(2,2,1);
}
break;

beginstate EXIT_STATE;
//called when the party leaves the town

break;

beginstate START_STATE;
//called every turn when the party is in the town
break;

beginstate 10;
	if(get_flag(2,1) == 1) {
		move_to_new_town(2,17,4);
	}
break;